<?php 
//下载
include './functions.php';
$info = glob('./a/160808/*');

 ?>
 <!doctype html>
 <html lang="en">
 <head>
 	<meta charset="UTF-8" />
 	<title>Document</title>
 </head>
 <body>
 	<table border="1" cellspacing="" cellpadding="">
 		<?php foreach ($info as $v): ?>
	 		<tr>
	 			<td><?php echo basename($v) ?></td>
	 			<td>
	 				<a href="down.php?src=<?php echo $v; ?>">下载</a>
	 			</td>
	 		</tr>
 		<?php endforeach ?>
 	</table>
 </body>
 </html>